// pages/bar/mine/persional/change/changePhoneNum/changePhoneNum.js
Page({


  data: {
    currentNum: "123456789",
    changeNum: "",
    change: true,
  },
  changeBtnTap(e) {
    const data = e.currentTarget.dataset;
    this.setData({
      selected: data.index,
      change: !this.data.change,
    });
  },
  input: function (e) {
    this.setData({
      changeNum: e.detail.value
    })
  },
  okTap(e) {
    const data = e.currentTarget.dataset;
    this.setData({
      currentNum: this.data.changeNum,
      change: !this.data.change,
    });
    wx.navigateBack({
      delta: 0,
    })
  },
  onLoad: function (options) {

  },

})